const TOKEN_KEY = 'geek-part';

// 保存token
const setToken = (token) => {
  localStorage.setItem(TOKEN_KEY, token);
};

// 获取token
const getToken = () => localStorage.getItem(TOKEN_KEY);

// 移除token
const removeToken = () => {
  localStorage.removeItem(TOKEN_KEY);
};

export { setToken, getToken, removeToken };
